﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuanLyGaRaOTo
{
    public class CheckValues
    {
        public Boolean checkDouble(string s)
        {
            double d;
            return (double.TryParse(s, out d));           
        }

        public Boolean checkInt(string s)
        {
            int i;
            return (int.TryParse(s, out i));
        }

        public Boolean checkUint(string s)
        {
            uint i;
            return (uint.TryParse(s, out i));
        }
    }
}
